﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="WaitWeighList.aspx.cs" Inherits="Ewts.Storage.WaitWeighList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h2>待称重列表</h2>
    <!--一个表单-->
    <br /> 归属地：
    <asp:DropDownList ID="dropBelong" CssClass="bcity" runat="server" >

    </asp:DropDownList>
      处理地：
    <asp:DropDownList ID="dropGraphic" CssClass="gcity" runat="server" >
    </asp:DropDownList>

    <!--一个表单-->
   
<br />

<div class="shadow2"> 

    <table id="tbColl" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
      <thead>
        <tr>
            <th>序号</th>
            <th>LoadNum</th>
            <th>CJO单号</th>
            <th>归属地</th>
            <th>处理地</th>
            <th>客户编码</th>
            <th>客户名称</th>
            <th>货物件数</th>
            <th>特殊要求</th>
            <th>工人</th>
            <th>车牌号</th>
            <th>收集日期</th>
            <th>操作</th>
        </tr>
      </thead>
      <tbody>
      </tbody>
 
    </table>
 

</div>
    <script type="text/javascript">


        $(document).ready(function () {
            var mtable = $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 25,
                "bDestory": true,
                "columns": [
                    { "data": "rowno" },
                    { "data": "loadnum" },
                    { "data": "cjono" },
                    { "data": "bcity" },
                    { "data": "gcity" },
                    { "data": "cumcode" },
                    { "data": "cumname" },
                    { "data": "numberestimate" },
                    { "data": "peculiarrequire" },
                    { "data": "vehiclor" },
                    { "data": "plateNo" },
                    { "data": "wrldate" },
                    { "data": "operurl" }
                ],
                "sAjaxSource": "/ashx/waitinstorage.ashx?rtype=wrl&gcity=" + encodeURI($(".gcity").val()) + "&bcity=" + encodeURI($(".bcity").val()),
                "bServerSide": true
            });

            $('.bcity').change(function () {
                mtable.fnReloadAjax("/ashx/waitinstorage.ashx?rtype=wrl&gcity=" + encodeURI($(".gcity").val()) + "&bcity=" + encodeURI($(".bcity").val()));
            });


            $('.gcity').change(function () {
                mtable.fnReloadAjax("/ashx/waitinstorage.ashx?rtype=wrl&gcity=" + encodeURI($(".gcity").val()) + "&bcity=" + encodeURI($(".bcity").val()));
            });

        });  
</script>
  
</div>
</asp:Content>
